| 103 { |
103 { |
| 104 PurpleConnection *gc; |
104 PurpleConnection *gc; |
| 105 JabberStream *js; |
105 JabberStream *js; |
| 106 |
106 |
| 107 if (!purple_account_is_connected(account)) |
107 if (!purple_account_is_connected(account)) |
| 108 return; |
|
| 109 |
|
| 110 if (!purple_status_is_active(status)) |
|
| 111 return; |
108 return; |
| 112 |
109 |
| 113 if (purple_status_is_exclusive(status) && !purple_status_is_active(status)) { |
110 if (purple_status_is_exclusive(status) && !purple_status_is_active(status)) { |
| 114 /* An exclusive status can't be deactivated. You should just |
111 /* An exclusive status can't be deactivated. You should just |
| 115 * activate some other exclusive status. */ |
112 * activate some other exclusive status. */ |