We need to handle empty message templates. When a message is empty we shouldn't write to activity_targets or activity_messages.

This allows the admin to configure NO personal messages. Meaning that the admin can set the same for all by setting just the public setting

Comments

Scott Reynolds’s picture

Status: Active » Fixed

Ok so commit this. Now you are able to enter in any combination of messages and only the messages entered into the screen will be recorded to the table (along with the uid).

This prevents empty messages from being recorded and displayed and adds the cool feature of turning off 'personal' messages completely. So you can always surface only the public message.

And you can also turn off public message and only surface the activity to those that were involved in it (node creator, node commentor etc, friend accepter, friend requestor)

sirkitree’s picture

Sweet, thanks Scott!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.