Re: Devel Digest, Vol 118, Issue 1

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Re: Devel Digest, Vol 118, Issue 1

TTTs I Hammerfest & Omegn LTD Finnmark
nice too her from you, i need fast insight of how too do tjhongs online ( spec tings) :) 
i wanna get too know u better markus.7

reg. Martin

2017-03-01 18:00 GMT+01:00 <[hidden email]>:
Send Devel mailing list submissions to
        [hidden email]

To subscribe or unsubscribe via the World Wide Web, visit
or, via email, send a message with subject or body 'help' to
        [hidden email]

You can reach the person managing the list at
        [hidden email]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Devel digest..."

Today's Topics:

   1. plugin: hidden conversation (Markus Teich)


Message: 1
Date: Wed, 1 Mar 2017 13:43:38 +0100
From: Markus Teich <[hidden email]>
To: [hidden email]
Subject: plugin: hidden conversation
Message-ID: <20170301124337.GH27813@trolle>
Content-Type: text/plain; charset=utf-8


I am currently writing a plugin which needs to exchange metadata-messages
between pairs of participants in a chat. I figured out how to hide those
messages so they won't bother the user, but I was not able to find a way to
prevent pidgin from spawning a new tab in the conversation window.

Currently in the "chat-buddy-joined" handler I try to find an existing
conversation with the respective user with
`purple_find_conversation_with_account` and in case there is none yet, I create
it `with purple_conversation_new`. Then I use `purple_conv_im_send_with_flags`
using the PURPLE_MESSAGE_INVISIBLE flag to send the first metadata-message. Can
I prevent popping up a convesation tab/window in the GTK frontend for the sender
AND receiver?

I'm using pidgin v2.11.0.



Subject: Digest Footer

Devel mailing list
[hidden email]


End of Devel Digest, Vol 118, Issue 1

Devel mailing list
[hidden email]