gix warnings
This commit is contained in:
1 parent
7125795249
commit
711d0cb1fc
3 files changed
+5
-5
No files matched your search
@@ -2270,7 +2270,7 @@ final class AppModel: ObservableObject {
|
||||
}
|
||||
|
||||
guard !messages[index].isRetracted else { return }
|
||||
var updatedMessage = messages[index]
|
||||
let updatedMessage = messages[index]
|
||||
let existingIndex = updatedMessage.reactions.firstIndex { reaction in
|
||||
reactionSenderMatches(
|
||||
reaction.senderJID,
|
||||
@@ -2502,7 +2502,7 @@ final class AppModel: ObservableObject {
|
||||
updateConversationPreview(for: messages[index], incrementUnread: false)
|
||||
return false
|
||||
}
|
||||
var merged = message
|
||||
let merged = message
|
||||
if previous.direction == .outgoing && message.direction == .outgoing {
|
||||
merged.localFilename = previous.localFilename ?? message.localFilename
|
||||
merged.mimeType = previous.mimeType ?? message.mimeType
|
||||
|
||||
@@ -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()
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import Combine
|
||||
import Foundation
|
||||
import Martin
|
||||
import MartinOMEMO
|
||||
@preconcurrency import Martin
|
||||
@preconcurrency import MartinOMEMO
|
||||
import WebRTC
|
||||
|
||||
private struct BufferedArchiveStanza {
|
||||
|
||||
Reference in new issue
Block a user