bugXMPP4R - Bugs: bug #17411, Message#set_chat_state calls...

Show feedback again

bug #17411: Message#set_chat_state calls non-existant method Message#state=

Submitted by:  None
Submitted on:  Wed Dec 29 15:39:44 2010  
Category: NoneSeverity: 2 - Minor
Priority: 5 - NormalStatus: None
Privacy: PublicAssigned to: None
Originator Email: -unavailable-Open/Closed: Open

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

Please log in, so followups can be emailed to you.


Wed Dec 29 15:39:44 2010, original submission:

From the RDoc at http://home.gna.org/xmpp4r/rdoc/

# File lib/xmpp4r/message.rb, line 168
168: def set_chat_state(s)
169: self.state = s
170: self
171: end

Line 169 should probably have been self.chat_state = s. Calling set_chat_state throws the following exception:

undefined method `state=' for #<Jabber::Message:0x905d1e8>
...gems/xmpp4r-0.5/lib/xmpp4r/message.rb:169:in `set_chat_state'



(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by None (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Error: not logged in



    No Changes Have Been Made to This Item
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup