Hello everybody! I've worked a bit on the problem that links send via XMPP to Laconica are not shortened. My solution is ugly but working...
The problem as far as I can see is, that common_current_user() from util.php is not finding any user at all, when called indirectly from the xmppdaemon.php (via common_shorten_links) script. Therefore it can not determine which shortening service the user has selected and no shortening is happening. My IMO ugly solution is a hard coded choice for ur1.ca in the case, that no user is found. And I should probably file a bug report for this anyway into trac. The commit to the bAvatar-clone [1] also contains a little bit cleaning of the xmppdaemon code. so long Tobias [1] http://gitorious.org/projects/laconica/repos/bAvatar-clone/commits/7196410bb0398c15fbab767a9b7cedc513e6520b -- ________________________________________ / www.diekershoff.net \ | eMail: [email protected] | | ยต Blog: identi.ca/bavatar | | sip: [email protected] | | jid: [email protected] | \ skype und icq auf nachfrage / ---------------------------------------- \ \ ___ {~._.~} ( Y ) ()~*~() (_)-(_)
pgpsIXCIGlyB1.pgp
Description: PGP signature
_______________________________________________ Laconica-dev mailing list [email protected] http://mail.laconi.ca/mailman/listinfo/laconica-dev
