Beware of the PM flag

The action MSG in ADC for protocol chat have a PM flag to be used as a way to signal that the chat message is for “private” use. Most likely, clients will use this flag in combination with a D or E type message.

However, one should be aware of this. A client is not forced to use the PM flag, even if they intend for it to be a private message. Eg, if you send a message with the D-type and without the PM flag, the remote client should interpret the message as it was a “main chat message” (yet the message shall only appear in that client, per the type). The client don’t care whether that flag is present.

Also, the PM flag can be used in combination of the broadcast type, B. This leaves some room for spammers; send a broadcast message with the PM flag and all of the users in the hub will receive a “private message”.

The reason this all is confusing is most likely because NMDC only have a sense of “main chat” or “private” message, and not a sense of “message directed to someone [or a group of people]”, as ADC have.

Don’t forget that you can make topic suggestions for blog posts in our “Blog Topic Suggestion Box!”

Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: