sugarlabs / chat

The Sugar chat activity
GNU General Public License v2.0
5 stars 24 forks source link

Prevent user from sending smileys when disconnected #30

Closed shaansubbaiah closed 4 years ago

shaansubbaiah commented 4 years ago

Users are able to send smileys when disconnected. Like sending text, sending smileys should also be disabled when the user isn't connected.

Tested on: Sugar 0.117-3, Debian Bullseye Sugar 0.117, Sugar Live Build OLPC OS 18.04

chimosky commented 4 years ago

By disconnected you mean when activity isn't shared?

shaansubbaiah commented 4 years ago

By disconnected you mean when activity isn't shared?

Yes, when it isn't shared.

chimosky commented 4 years ago

Just took a look and the emojis can't be sent but they do appear in the text box.

chimosky commented 4 years ago

My bad, they can be sent with the button beside the text box and not the entry key.

shaansubbaiah commented 4 years ago

Like the text box, can the Smiley button's sensitivity be set to disabled when the Activity is not shared?

chimosky commented 4 years ago

Yes all buttons should be insensitive when the activity isn't shared.