[Adium-devl] Ticket #9701 : No /nudge feedback.
Yan Morissette
n30h4v3n at gmail.com
Fri Jul 4 01:08:26 UTC 2008
Hello to the whole adium mailing list.
I was assigned ticket #9701 as my first bug/misfeature/
whateverYouWannaCallIt to fix.
Please pardon any lack of proper vocabulary or spelling mistakes. I am
not a native english speaker.
The OP points out that there is no notification echoed back for /nudge
while there is one echoed for the context menu option. I have found
out on my side that right now, as of Adium 1.3b6, r.24182, people
using the latest Windows Live Messenger do *not* receive the nudges
properly with /nudge, but they receive them properly when I use the
context menu.
Basically, the discrepancy between both /nudge and the context menu
option comes from the fact that both are handled completely
differently by Adium. The '/nudge' command gets "parsed" by the method
in SLPurpleCocoaAdapter.m:803,
- (BOOL)doCommand:(NSString *)originalMessage
fromAccount:(id)sourceAccount
inChat:(AIChat *)chat
which basically sends it into libpurple for it to handle.
The context menu option for notifying is handled in the end by the
method in AINudgeBuzzHandlerPlugin.m:226,
- (void)sendNotification:(AIListObject *)object
which then does everything there is to do to handle it. I believe it
would be nicer to actually have both go into
AINudgeBuzzHandlerPlugin.m's sendNotification: method, but I am not
sure of how to this, seeing as how [AINudgeBuzzHandlerPlugin
sendNotification:aListObject] might not be answered.
Basically, what I mean is I do not know how to call a plugin, and am
asking you guys to help me out a bit out here because I am kind of
stuck. :)
Thanks for any and all help,
neohaven (Yan)
More information about the devel
mailing list