Bug 266556 - Jabber messages ending with much spaces
Summary: Jabber messages ending with much spaces
Status: RESOLVED NOT A BUG
Alias: None
Product: kopete
Classification: Unmaintained
Component: Jabber Plugin (other bugs)
Version First Reported In: 0.80.2
Platform: Ubuntu Linux
: NOR minor
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-17 20:06 UTC by Sandro Knauß
Modified: 2014-12-12 23:42 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sandro Knauß 2011-02-17 20:06:57 UTC
Version:           0.80.2 (using KDE 1.2) 
OS:                Linux

While sending messages to a muc (Multi User Chat) via Jabber. Kopete puts much spaces on the end of the message.

Reproducible: Always

Steps to Reproduce:
1. open muc
2. open XML Console
3. send a message
4. look to XML Console

Actual Results:  
<message type="chat" to="xxx@xxx/xxx" id="519" >
<body>test 	  				 	 	 	   	 	  	   		  	 </body>
<x xmlns="jabber:x:event">
<offline/>
<composing/>
<delivered/>
<displayed/>
</x>
<active xmlns="http://jabber.org/protocol/chatstates"/>
</message>

Expected Results:  
<message type="chat" to="xxx@xxx/xxx" id="519" >
<body>test</body>
<x xmlns="jabber:x:event">
<offline/>
<composing/>
<delivered/>
<displayed/>
</x>
<active xmlns="http://jabber.org/protocol/chatstates"/>
</message>

Tried it with diffrent styles and also for rich text.
Comment 1 rnet723 2011-10-17 19:03:36 UTC
Reproduced the bug. KDE 4.7.2/Kopete 1.1.2 (openSUSE x86_64)
Comment 2 Sandro Knauß 2011-10-17 19:27:28 UTC
Sorry wrong versionnumbers: KDE  4.6.5/Kopete 1.0.80 (debian unstable)
Comment 3 Sandro Knauß 2014-12-12 23:42:15 UTC
This is the "whitespace hack" from OTR to show other clients, that this client support OTR. If otr is switched of completly (opperonistic mode). Than this issue is gone. So Actually it is a feature and not a bug :)