<div dir="ltr"><div><div><div>Hello,<br><br></div>I would like to know if there is a page describing the addReceivedMessage() telepathy method. I have searched at google but didn't find anything, just usage examples at [1], [2], [3] and [4].<br><br></div>At [5] there is a Tp::BaseChannelTextTye class reference but there is no description of addReceivedMessage() method.<br><br></div>I'm asking that because Empathy it's not showing the contact name, as it should, when it loads a conversation from history. I have looked the log generated at ~/.local/share/TpLogger/logs/* and I saw that this logs are stored as a xml. And I also noticed that the attribute 'name' is responsible for holding the names that appears in conversation history:<br><br><message time='20160723T03:09:26' id='<a href="mailto:mateusbellomo@sip.antisip.com">mateusbellomo@sip.antisip.com</a>' name='' token='' isuser='true' type='normal'>just testing</message><br><div><div><br></div><div>I saw that this attribute is appearing empty in my generated log and don't know how to set it. My guess is that this is set at addReceivedMessage() method and right now I'm setting the same attributes as telepathy-morse and telepathy-nonsense.<br><br></div><div>You can see at [6] what I'm doing.<br></div><div><br></div><div>Any help would be great. Thanks in advance.<br></div><div><br>[1] <a href="https://github.com/TelepathyQt/telepathy-nonsense/blob/master/textchannel.cc#L206">https://github.com/TelepathyQt/telepathy-nonsense/blob/master/textchannel.cc#L206</a><br>[2] <a href="https://github.com/TelepathyQt/telepathy-morse/blob/master/textchannel.cpp#L227">https://github.com/TelepathyQt/telepathy-morse/blob/master/textchannel.cpp#L227</a><br>[3] <a href="https://github.com/TelepathyQt/telepathy-hanging/blob/master/hangingtextchannel.cpp#L241">https://github.com/TelepathyQt/telepathy-hanging/blob/master/hangingtextchannel.cpp#L241</a><br>[4] <a href="https://github.com/KDE/telepathy-kdeconnect/blob/master/connection.cpp#L315">https://github.com/KDE/telepathy-kdeconnect/blob/master/connection.cpp#L315</a><br>[5] <a href="https://telepathy.freedesktop.org/doc/telepathy-qt/a00088.html#a6f7fa2f64b19f983fe2bdae482750d5a">https://telepathy.freedesktop.org/doc/telepathy-qt/a00088.html#a6f7fa2f64b19f983fe2bdae482750d5a</a><br>[6] <a href="https://github.com/resiprocate/resiprocate/compare/master...MateusBellomo:mateus-presence-text#diff-f4450aa8b33b57fd8a15b6f232c236d9R79">https://github.com/resiprocate/resiprocate/compare/master...MateusBellomo:mateus-presence-text#diff-f4450aa8b33b57fd8a15b6f232c236d9R79</a><br></div></div></div>