Fix typo alledged -> alleged

This commit is contained in:
Michael Vetter 2019-09-12 21:00:25 +02:00 committed by fiaxh
parent a96c80149f
commit c8f2b80978
2 changed files with 2 additions and 2 deletions

View file

@ -48,7 +48,7 @@ public class Module : XmppStreamModule, Iq.Handler {
StanzaNode? query_node = iq.stanza.get_subnode("query", NS_URI); StanzaNode? query_node = iq.stanza.get_subnode("query", NS_URI);
if (query_node == null) return; if (query_node == null) return;
if (!iq.from.equals(stream.get_flag(Bind.Flag.IDENTITY).my_jid.bare_jid)) { if (!iq.from.equals(stream.get_flag(Bind.Flag.IDENTITY).my_jid.bare_jid)) {
warning("Received alledged roster push from %s, ignoring", iq.from.to_string()); warning("Received alleged roster push from %s, ignoring", iq.from.to_string());
return; return;
} }

View file

@ -100,7 +100,7 @@ public class ReceivedPipelineListener : StanzaListener<MessageStanza> {
if (message_node != null) { if (message_node != null) {
// MAM messages must come from our server // TODO or a MUC server // MAM messages must come from our server // TODO or a MUC server
if (!message.from.equals(stream.get_flag(Bind.Flag.IDENTITY).my_jid.bare_jid)) { if (!message.from.equals(stream.get_flag(Bind.Flag.IDENTITY).my_jid.bare_jid)) {
warning("Received alledged MAM message from %s, ignoring", message.from.to_string()); warning("Received alleged MAM message from %s, ignoring", message.from.to_string());
return true; return true;
} }