Follow-up Comment #10, bug #16625 (project freeciv): There were still some oddities like if a player observer was sending a message to a player, it was sending strange messages.
Changed the behaviour like: * "->{dest} message" is sent to the sender connection. * "{sender} message" is sent to the destination *connection*. * "{sender -> dest}" is sent to all observers of the sender (if a player) and the destination. It is a big improvement since observers don't receive ambiguous messages like if they were playing themselves. * "{sender -> dest}" is saved in the event cache. Unfortunately, there is no way to determine if the connection is playing or observing when receiving the cached event, so I avoided the usage of "->{dest} message" and "{sender} message" here. (file #10209) _______________________________________________________ Additional Item Attachment: File name: trunk_chat_msg_to_player.diff Size:2 KB _______________________________________________________ Reply to this item at: <http://gna.org/bugs/?16625> _______________________________________________ Message posté via/par Gna! http://gna.org/ _______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev