docs: Remove unneeded comments

This commit is contained in:
PapaTutuWawa 2022-01-26 09:29:43 +01:00
parent 2bdde821d9
commit 25506d57bf
2 changed files with 1 additions and 6 deletions

View File

@ -335,7 +335,7 @@ class XmppRepository {
);
} else {
modelRosterItem = await db.addRosterItemFromData(
"", // TODO
"",
item.jid,
item.jid.split("@")[0]
);
@ -352,10 +352,6 @@ class XmppRepository {
// ignore: avoid_print
print("Roster push version: " + (event.ver ?? "(null)"));
if (event.ver != null) {
// TODO: Remove
saveLastRosterVersion(event.ver!);
}
} else if (event is RosterItemNotFoundEvent) {
if (event.trigger == RosterItemNotFoundTrigger.remove) {
sendData({

View File

@ -40,7 +40,6 @@ class RosterItemNotFoundEvent extends XmppEvent {
RosterItemNotFoundEvent({ required this.jid, required this.trigger });
}
// TODO: Add override-able functions commitRoster and commitRosterVersion
class RosterManager extends XmppManagerBase {
String? _rosterVersion;