Libpurple expects html for messages, have you tried using a <br> tag instead of using a newline?
On 22/01/2017 09:10, "Nicholas DeLello" <nicholas_dele...@yahoo.com> wrote: I've been playing around with the dbus bindings for pidgin using Python, and in doing so, I found that the PurpleConvImSend() and PurpleConvSend() methods were replacing newlines from my messages with spaces. Sending/Receiving messages from the GUI works as intended, newlines are not replaced. Example Script to demonstrate what I mean: https://www.dropbox.com/s/cgv7 1awt3z5j3xn/simplePidginScript.py?dl=0 It will just reply with whatever was sent to it. In the console, the newlines are visible. Expected Behavior: Input: "test1 test2" Output: "test1 test2" Current Behavior: Input: "test1 test2" Output: "test1 test2" _______________________________________________ Support@pidgin.im mailing list Want to unsubscribe? Use this link: https://pidgin.im/cgi-bin/mailman/listinfo/support
_______________________________________________ Support@pidgin.im mailing list Want to unsubscribe? Use this link: https://pidgin.im/cgi-bin/mailman/listinfo/support