gix warnings
This commit is contained in:
1 parent
7125795249
commit
711d0cb1fc
3 files changed
+5
-5
No files matched your search
@@ -35,7 +35,7 @@ final class LumaConnectionStatsModule: XmppModuleBase, XmppModule, XmppStanzaFil
|
||||
|
||||
func processIncoming(stanza: Stanza) -> Bool {
|
||||
if stanza.xmlns == Self.smNamespace, stanza.name == "a" {
|
||||
if let raw = stanza.getAttribute("h"), let value = UInt32(raw) {
|
||||
if let raw = stanza.attribute("h"), let value = UInt32(raw) {
|
||||
lock.lock()
|
||||
acknowledged = value
|
||||
lock.unlock()
|
||||
|
||||
Reference in new issue
Block a user