mcabber/src/commands.c
changeset 1635 a57f2634ee7c
parent 1631 546868650bbf
child 1648 63d8473df2c3
equal deleted inserted replaced
1634:81e2d8a9106b 1635:a57f2634ee7c
  3183   }
  3183   }
  3184 
  3184 
  3185   if (!strcasecmp(subcmd, "allow"))  {
  3185   if (!strcasecmp(subcmd, "allow"))  {
  3186     xmpp_send_s10n(jid_utf8, LM_MESSAGE_SUB_TYPE_SUBSCRIBED);
  3186     xmpp_send_s10n(jid_utf8, LM_MESSAGE_SUB_TYPE_SUBSCRIBED);
  3187     scr_LogPrint(LPRINT_LOGNORM,
  3187     scr_LogPrint(LPRINT_LOGNORM,
  3188                  "<%s> is now allowed to receive your presence updates.",
  3188                  "Sent presence subscription approval to <%s>.",
  3189                  jid_utf8);
  3189                  jid_utf8);
  3190   } else if (!strcasecmp(subcmd, "cancel"))  {
  3190   } else if (!strcasecmp(subcmd, "cancel"))  {
  3191     xmpp_send_s10n(jid_utf8, LM_MESSAGE_SUB_TYPE_UNSUBSCRIBED);
  3191     xmpp_send_s10n(jid_utf8, LM_MESSAGE_SUB_TYPE_UNSUBSCRIBED);
  3192     scr_LogPrint(LPRINT_LOGNORM,
  3192     scr_LogPrint(LPRINT_LOGNORM,
  3193                  "<%s> will no longer receive your presence updates.",
  3193                  "<%s> will no longer receive your presence updates.",