mirror of
https://github.com/lux-tel/session-ios.git
synced 2026-10-30 20:38:32 +00:00
• Fixed an issue where the DisappearingMessagesJob was getting run for every individual message process instead of just once after processing all messages from a poll • Tweaked the polling logic to split the user, groups and community pollers into separate queues • Tweaked the logic to restart the open group poller immediately after joining a community (to avoid an edge-case where there could be a long delay before the initial poll is made) • Tweaked the logic for checking if PNs are susceptible to failure to only dispatch to the main thread once • Cleaned up some warnings • Updated the app versioning to be at the project level instead of target level • Added the ability to define a unique hash for a job for deduplication
15 lines
396 B
Swift
15 lines
396 B
Swift
// Copyright © 2022 Rangeproof Pty Ltd. All rights reserved.
|
|
//
|
|
// stringlint:disable
|
|
|
|
import Foundation
|
|
import GRDB
|
|
|
|
public extension TableRecord where Self: ColumnExpressible {
|
|
static var fullTextSearchTableName: String { "\(self.databaseTableName)_fts" }
|
|
|
|
static func select(_ selection: Columns...) -> QueryInterfaceRequest<Self> {
|
|
return all().select(selection)
|
|
}
|
|
}
|