levibostian/Wendy-Android

Remove `buildQueryForExistingTask` from PendingApiTaskModel

levibostian opened this issue · 1 comments

    // TODO I should not need this call below anymore. I could use RealmObject API to get the primary key of a model and query via the primary key. It's all you need to query!
    override fun buildQueryForExistingTask(realmQuery: RealmQuery<RealmObject>): RealmQuery<RealmObject> {
        return realmQuery.equalTo("chat_message_realm_id", chat_message_realm_id).equalTo("email", email)
    }

The newest version of Wendy does not even use Realm so this will no longer be needed.