Le lundi 26 mars 2007, Jason Keirstead a écrit :

>       ( Line 146 of otrplugin.cpp, in version 0.1: )
>       msg.setBody( encBody, Kopete::Message::RichText );

btw,  you should not use RichText here,   PlainText is better  (but it's not 
the solution to your problem.)

The problem is that the history plugin is loaded before your plugin, and then 
it take the message before.
(probably because the alphabetic order (Crypt... < Hist... < Otr) )

The solution it to use the "new" API using message chain.  I don't remember 
which plugin use it, but not alot.  I don't know well that API myself.

Attachment: pgp1q1Q2aGFjc.pgp
Description: PGP signature

_______________________________________________
kopete-devel mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kopete-devel

Reply via email to