[Feature]: Streamline code
Closed this issue · 2 comments
tmolitor-stud-tu commented
- The current code has different names for the same thing:
isGroup
inMLContact
, butisMuc
inMLMessage
. UseisMuc
everywhere. -
mucType
is named same in both files, but is aNSString
. Make this an enum having the valueschannel
andgroup
(and unknown, if the db has the value NULL for this information which is needed to trigger a proper update, see 4ac6495). - Rename
connectedAccounts
(andconnectedAccount
) toenabledAccounts
(enabledAccount
) everywhere - Use
accountID
asNSNumber
everywhere (notaccountId
oraccountNo
and not asNSString
either).
tmolitor-stud-tu commented
@lissine0 This is complete, right?
lissine0 commented
Yes it is complete (though someone may want to switch from String constants to enums at some point)