Mercurial > pidgin
view libpurple/plugins/mono/api/Event.cs @ 27252:ea9df9bfa921
If get_info_for_jid is passed a full JID, don't spam that JID with IQs.
Looping over all the resources while using the passed-in JID as the to
address was causing us to generate O(N) queries to a member of a MUC (where
N is the number of people in the room).
| author | Paul Aurich <paul@darkrain42.org> |
|---|---|
| date | Thu, 02 Jul 2009 22:03:21 +0000 |
| parents | 93bfbda79bf6 |
| children |
line wrap: on
line source
using System; namespace Purple { public class Event { private IntPtr handle; private string signal; public Event(IntPtr h, string s) { handle = h; signal = s; } public void connect(object plugin, Signal.Handler handler) { Signal.connect(handle, plugin, signal, handler); } } }
