Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 177460 Details for
Bug 142041
pyyim-t-0.3.ebuild (New Package)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Yahoo! IM avatar patch
yahoo-avatar.patch (text/plain), 1.61 KB, created by
Richard H.
on 2009-01-05 10:37:16 UTC
(
hide
)
Description:
Yahoo! IM avatar patch
Filename:
MIME Type:
Creator:
Richard H.
Created:
2009-01-05 10:37:16 UTC
Size:
1.61 KB
patch
obsolete
>diff -Naur yahoo-transport-0.4/avatar.py pyyimt/avatar.py >--- yahoo-transport-0.4/avatar.py 2007-08-03 19:57:29.000000000 -0400 >+++ pyyimt/avatar.py 2008-09-04 13:50:21.000000000 -0400 >@@ -2,10 +2,12 @@ > > def getavatar(aid, debug): > #the aid value is the Avatar ID. This is given in tag 197 >- conn = httplib.HTTPConnection("img1.avatar.vip.dcn.yahoo.com") >+ #conn = httplib.HTTPConnection("img1.avatar.vip.dcn.yahoo.com") >+ conn = httplib.HTTPConnection("img.msg.yahoo.com") > if debug: conn.debuglevel=3 > try: >- conn.request("GET","/users/%s.medium.png"%aid) >+ #conn.request("GET","/users/%s.medium.png"%aid) >+ conn.request("GET","/avatar.php?yids=%s"%aid) > r1 = conn.getresponse() > except: > if debug: traceback.print_exc() >diff -Naur yahoo-transport-0.4/ylib.py pyyimt/ylib.py >--- yahoo-transport-0.4/ylib.py 2007-11-06 16:26:28.000000000 -0500 >+++ pyyimt/ylib.py 2008-09-04 13:55:59.000000000 -0400 >@@ -149,7 +149,8 @@ > self.roster[pay[each][7]]=('available', typ, status) > if pay[each].has_key(198): > if pay[each][198] == '1' and pay[each].has_key(197): >- b = avatar.getavatar(pay[each][197], self.dumpProtocol) >+ #b = avatar.getavatar(pay[each][197], self.dumpProtocol) >+ b = avatar.getavatar(pay[each][7], self.dumpProtocol) > if b != None and self.handlers.has_key('avatar'): > self.handlers['avatar'](self,pay[each][7],b) > elif pay[each][198] == '0': >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 142041
:
92956
|
92957
|
93128
|
142548
|
142549
|
177458
| 177460 |
217297