ios: disappearing messages (#1614)

* ios: disappearing messages

* show ttl in meta if different

* mark messages as disappearing when read

* previews
This commit is contained in:
Evgeny Poberezkin
2022-12-21 12:59:45 +00:00
committed by GitHub
parent 36eba01ef4
commit e1740a8be4
14 changed files with 388 additions and 150 deletions

View File

@@ -642,7 +642,7 @@ struct ComposeView: View {
Task {
do {
var prefs = contactUserPreferencesToPreferences(contact.mergedPreferences)
prefs.voice = Preference(allow: .yes)
prefs.voice = SimplePreference(allow: .yes)
if let toContact = try await apiSetContactPrefs(contactId: contact.contactId, preferences: prefs) {
await MainActor.run {
chatModel.updateContact(toContact)