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/cgv71awt3z5j3xn/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