We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9830a1a commit f0df578Copy full SHA for f0df578
Extensions/XEP-0153/XMPPvCardAvatarModule.m
@@ -234,7 +234,7 @@ - (void)xmppStream:(XMPPStream *)sender didReceivePresence:(XMPPPresence *)prese
234
NSString *savedPhotoHash = [_moduleStorage photoHashForJID:jid xmppStream:xmppStream];
235
236
// check the hash
237
- if (![photoHash isEqualToString:[_moduleStorage photoHashForJID:jid xmppStream:xmppStream]]
+ if ([photoHash caseInsensitiveCompare:savedPhotoHash] != NSOrderedSame
238
&& !([photoHash length] == 0 && [savedPhotoHash length] == 0)) {
239
[_xmppvCardTempModule fetchvCardTempForJID:jid ignoreStorage:YES];
240
}
0 commit comments