Hi all, I'm writing on a seperate application (telepathy-wrapper for kopete-protocols) that uses the libkopete-api and I got into several problems:
-How to add a contact (preferred temporary) to the contactlist of an account? I tried Kopete::Account::addContact() with all types of AddModes but i only get QObject(0x0) added to the contactlist which results in a segfault later. -How to send messages to multiple contacts? I created a new ChatSession with Kopete::ChatSessionManager::create(Kopete::Contact*, Kopete::ContactPtrList, Kopete::Protocol*, Kopete::ChatSession::Form) with the desired recipients in Kopete::ContactPtrList. Then I created a Kopete::Message with the myself contact as fromKC and the same list of contacts then used above as contacts. With the ChatSession I get returned from ChatSessionManager::create() I used the method ChatSession::sendMessage() with the message created above. But none of the contacts get this message... Would be great if anyone could help =) Regards Roman _______________________________________________ kopete-devel mailing list [email protected] https://mail.kde.org/mailman/listinfo/kopete-devel
