Abe Hassan (burr86) wrote in changelog,
Abe Hassan
burr86
changelog

[livejournal] r12391: Only personal journals (not openid) can ...

Committer: ahassan
Only personal journals (not openid) can get notifications by IM, since openID doesn't get to use ljtalk

http://rt.livejournal.org/Ticket/Display.html?id=4211

U   trunk/cgi-bin/LJ/NotificationMethod/IM.pm
Modified: trunk/cgi-bin/LJ/NotificationMethod/IM.pm
===================================================================
--- trunk/cgi-bin/LJ/NotificationMethod/IM.pm	2007-08-31 21:50:30 UTC (rev 12390)
+++ trunk/cgi-bin/LJ/NotificationMethod/IM.pm	2007-08-31 21:58:51 UTC (rev 12391)
@@ -83,7 +83,7 @@
     my $u = shift;
 
     # FIXME: check if user can use IM
-    return 1;
+    return $u->is_person ? 1 : 0;
 }
 
 sub url {

Subscribe

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments