At least "presence" is there twice. See contacts-model.cpp:86 contacts-model.cpp:98 I haven't tried others Reproducible: Always
For reference, here's the full code piece roles[CurrentPresenceRole] = "presence"; roles[CurrentPresenceTypeRole] = "presenceType"; roles[CurrentPresenceStatusRole] = "presenceStatus"; roles[CurrentPresenceStatusMessageRole] = "presenceStatusMessage"; roles[RequestedPresenceRole] = "requestedPresence"; roles[RequestedPresenceTypeRole] = "requestedPresenceType"; roles[RequestedPresenceStatusRole] = "requestedPresenceStatus"; roles[RequestedPresenceStatusMessageRole] = "requestedPresenceStatusMessage"; roles[ConnectionStatusRole] = "connectionStatus"; roles[ConnectionStatusReasonRole] = "connectionStatusReason"; roles[AliasRole] = "aliasName"; roles[AvatarRole] = "avatar"; roles[PresenceRole] = "presence"; roles[PresenceIconRole] = "presenceIcon"; roles[PresenceStatusRole] = "presenceStatus"; roles[PresenceTypeRole] = "presenceType"; roles[PresenceMessageRole] = "presenceMessage"; The presence on top is account presence, the presence towards bottom is contact presence (the model mixes accounts with contacts). We don't need half of these roles anyway and should return KTp::Presence where possible. ...also the license header is wrong, I'm sure I didn't write this model.
You didn't. It's from Tp-Qt4-Yell. It's a bug that will be going away with my new models. If you want an immediate fix, remove the top "presence" as no-one uses it.
Git commit 8f2ceb81c1fdc8a11993175eab4c4aa6c4c48ce7 by Martin Klapetek. Committed on 18/12/2012 at 12:53. Pushed by mklapetek into branch 'master'. Rename clashing role names FIXED-IN: 0.6 M +4 -4 KTp/Models/contacts-model.cpp http://commits.kde.org/telepathy-common-internals/8f2ceb81c1fdc8a11993175eab4c4aa6c4c48ce7