forked from GNUsocial/gnu-social
Show a new message form on message/new
This commit is contained in:
parent
01c9d5e240
commit
80e04a8d9f
@ -2,7 +2,7 @@
|
||||
/**
|
||||
* Laconica, the distributed open-source microblogging tool
|
||||
*
|
||||
* Handler for posting new notices
|
||||
* Handler for posting new messages
|
||||
*
|
||||
* PHP version 5
|
||||
*
|
||||
@ -174,6 +174,12 @@ class NewmessageAction extends Action
|
||||
$this->showPage();
|
||||
}
|
||||
|
||||
function showContent()
|
||||
{
|
||||
$message_form = new MessageForm($this);
|
||||
$message_form->show();
|
||||
}
|
||||
|
||||
function notify($from, $to, $message)
|
||||
{
|
||||
mail_notify_message($message, $from, $to);
|
||||
|
Loading…
Reference in New Issue
Block a user