A few more changes resulting from the merge

pull/970/head
Morgan Pretty 11 months ago
parent da6c407e9f
commit 450613de17

@ -781,9 +781,7 @@ public final class OpenGroupManager {
let syncTarget: String = (lookup.sessionId ?? message.recipient)
switch messageInfo.variant {
case .visibleMessage:
(messageInfo.message as? VisibleMessage)?.syncTarget = syncTarget
case .visibleMessage: (messageInfo.message as? VisibleMessage)?.syncTarget = syncTarget
default: break
}
}

@ -95,7 +95,6 @@ public enum MessageReceiver {
threadIdGenerator = { message in
switch message {
case let message as VisibleMessage: return (message.syncTarget ?? sender)
case let message as ExpirationTimerUpdate: return (message.syncTarget ?? sender)
default: return sender
}
}

Loading…
Cancel
Save