Add support for deleting display pictures
This commit is contained in:
parent
85814913e4
commit
2082225fb7
4 changed files with 65 additions and 9 deletions
|
@ -432,6 +432,7 @@
|
|||
$peer = self::getPeer($peer);
|
||||
}
|
||||
|
||||
// TODO: Handle for external peers, needs a way to resolve peers to their external counterparts
|
||||
if($peer->isExternal())
|
||||
{
|
||||
throw new InvalidArgumentException('Cannot update the display picture of an external peer');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue