diff options
author | Will Thompson <will.thompson@collabora.co.uk> | 2010-03-08 10:41:43 +0000 |
---|---|---|
committer | Will Thompson <will.thompson@collabora.co.uk> | 2010-03-26 10:34:12 +0000 |
commit | bde36dbaa838610f429521e3f4c20a6147bb1572 (patch) | |
tree | aa18fe971a36c74031120158a108a63e94a2f7b3 | |
parent | 031ae881a2dea1f834a41d35b79d2161a8e990c8 (diff) |
Expose “MUC full” as Busy on the Group interface
There's no group change reason that corresponds exactly to the room
being full, but Busy seems like a reasonable approximation. It's
certainly better than None.
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
-rw-r--r-- | src/muc-channel.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/muc-channel.c b/src/muc-channel.c index 05396eaf2..a19a7d08b 100644 --- a/src/muc-channel.c +++ b/src/muc-channel.c @@ -1564,6 +1564,7 @@ _gabble_muc_channel_presence_error (GabbleMucChannel *chan, case XMPP_ERROR_SERVICE_UNAVAILABLE: tp_error = g_error_new (TP_ERRORS, TP_ERROR_CHANNEL_FULL, "room is full"); + reason_code = TP_CHANNEL_GROUP_CHANGE_REASON_BUSY; break; case XMPP_ERROR_REGISTRATION_REQUIRED: tp_error = g_error_new (TP_ERRORS, TP_ERROR_CHANNEL_INVITE_ONLY, |