summaryrefslogtreecommitdiff
path: root/actions/apidirect_messages.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/apidirect_messages.php')
-rw-r--r--actions/apidirect_messages.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/actions/apidirect_messages.php b/actions/apidirect_messages.php
index 477aa4329..351a4bb29 100644
--- a/actions/apidirect_messages.php
+++ b/actions/apidirect_messages.php
@@ -19,7 +19,9 @@
if (!defined('LACONICA')) { exit(1); }
-class Apidirect_messagesAction extends Action {
+require_once(INSTALLDIR.'/lib/twitterapi.php');
+
+class Apidirect_messagesAction extends TwitterapiAction {
function direct_messages($args, $apidata) {
parent::handle($args);