Not logged in. · Lost password · Register
Forum: MatriX RSS
Page: previous  1  2 
Avatar
LarsKJ #16
Member since Mar 2015 · 12 posts
Group memberships: Members
Show profile · Link to this post
In reply to post ID 8933
Sorry, did not notice this message, thanks for your patience.

As the matter of fact I figured it out my self:

  1. private void RetrieveArchivedMessagesCallback(object sender, IqEventArgs args)
  2. {
  3.   Chat chat = args.Iq.Element<Chat>();
  4.  foreach (var msg in chat.Elements<MessageItem>())
  5.  {
  6.      ....
  7.  }
  8. }

Very elegant.

Lars
This post was edited on 2015-03-27, 09:39 by Alex.
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Page: previous  1  2 
Forum: MatriX RSS