Fix setting of status message
Seems this actually never worked. Now it does. `/status set online "This is my text"` `/status set away bye` `/status set away`
This commit is contained in:
@@ -8078,8 +8078,12 @@ _update_presence(const resource_presence_t resource_presence,
|
||||
{
|
||||
char *msg = NULL;
|
||||
int num_args = g_strv_length(args);
|
||||
|
||||
// if no message, use status as message
|
||||
if (num_args == 2) {
|
||||
msg = args[1];
|
||||
} else {
|
||||
msg = args[2];
|
||||
}
|
||||
|
||||
jabber_conn_status_t conn_status = connection_get_status();
|
||||
|
||||
Reference in New Issue
Block a user