]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Merge branch 'master' into devel
authorEvan Prodromou <git@evanprodromou.name>
Tue, 6 Jan 2009 22:09:39 +0000 (17:09 -0500)
committerEvan Prodromou <git@evanprodromou.name>
Tue, 6 Jan 2009 22:09:39 +0000 (17:09 -0500)
Conflicts:

classes/CommandInterpreter.php
lib/twitter.php
lib/util.php

classes/CommandInterpreter.php

index f409ed07f02ad27e87eb3b1bc4afad0fedf4fb29..0679f5462dd4c0b03f7cfdb5b0ddc57a105ffeec 100644 (file)
@@ -23,7 +23,7 @@ require_once(INSTALLDIR.'/classes/Command.php');
 
 class CommandInterpreter
 {
-    
+
     function handle_command($user, $text)
     {
         # XXX: localise
@@ -33,9 +33,9 @@ class CommandInterpreter
 
         # We try to support all the same commands as Twitter, see
         # http://getsatisfaction.com/twitter/topics/what_are_the_twitter_commands
-        # There are a few compatibility commands from earlier versions of 
+        # There are a few compatibility commands from earlier versions of
         # Laconica
-        
+
         switch(strtolower($cmd)) {
          case 'help':
             if ($arg) {
@@ -105,6 +105,7 @@ class CommandInterpreter
                 return new GetCommand($user, $other);
             }
          case 'd':
+         case 'dm':
             if (!$arg) {
                 return null;
             }