Review Request 113222: Handle message delivery reports in MessagesModel

Leon Handreke leonh at ndreke.de
Tue Oct 15 20:58:28 UTC 2013



> On Oct. 14, 2013, 1:31 p.m., David Edmundson wrote:
> > KTp/Declarative/messages-model.cpp, line 223
> > <http://git.reviewboard.kde.org/r/113222/diff/2/?file=200995#file200995line223>
> >
> >     we need a check that there is a token. 
> >     
> >     Some might not have a token and there will definitely be cases when we introduce logger loading.
> >     
> >     also we have d->messages.count() already in the (rather badly named) variable length.
> >     
> >     so we can use 
> >     createIndex(length, 0);
> >     
> >

Done.


- Leon


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/113222/#review41718
-----------------------------------------------------------


On Oct. 15, 2013, 8:58 p.m., Leon Handreke wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/113222/
> -----------------------------------------------------------
> 
> (Updated Oct. 15, 2013, 8:58 p.m.)
> 
> 
> Review request for Telepathy.
> 
> 
> Repository: ktp-common-internals
> 
> 
> Description
> -------
> 
> Handle message delivery reports and update original message object with the the new status and possibly an error message.
> 
> Introduce a new internal MessagePrivate class to hold extra properties for MessagesModel to avoid having to extend KTp::Message.
> 
> 
> Diffs
> -----
> 
>   KTp/Declarative/messages-model.h a0f15653c3644f26dc768fe7ac882b4ac3c91367 
>   KTp/Declarative/messages-model.cpp 9cf1606555edc7ed9f36970a957a854caf3010a0 
> 
> Diff: http://git.reviewboard.kde.org/r/113222/diff/
> 
> 
> Testing
> -------
> 
> Only tested receiving a Tp::DeliveryStatusDelivered. Not sure how to test the other cases.
> 
> 
> Thanks,
> 
> Leon Handreke
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-telepathy/attachments/20131015/ec0fc29a/attachment.html>


More information about the KDE-Telepathy mailing list