]> git.mxchange.org Git - friendica.git/blobdiff - src/Model/Notify/Type.php
Merge pull request #9620 from annando/worker-command
[friendica.git] / src / Model / Notify / Type.php
index c6f921b456d2d77e0a6c00080d7bf0903eba7a43..5c244a6cb94657ec39993a00454f0c592373d8cc 100644 (file)
@@ -1,4 +1,23 @@
 <?php
+/**
+ * @copyright Copyright (C) 2020, Friendica
+ *
+ * @license GNU AGPL version 3 or any later version
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program.  If not, see <https://www.gnu.org/licenses/>.
+ *
+ */
 
 namespace Friendica\Model\Notify;
 
@@ -8,7 +27,7 @@ namespace Friendica\Model\Notify;
 class Type
 {
        /** @var int Notification about a introduction */
-       const INTRO  = 1;
+       const INTRO = 1;
        /** @var int Notification about a confirmed introduction */
        const CONFIRM = 2;
        /** @var int Notification about a post on your wall */
@@ -25,4 +44,15 @@ class Type
        const PROFILE = 64;
        /** @var int Notification about being tagged in a post */
        const TAG_SELF = 128;
+       /** @var int Notification about being tagged
+        * @deprecated
+        */
+       const TAG_SHARE = 256;
+       /** @var int Notification about getting poked/prodded/etc. */
+       const POKE = 512;
+       /** @var int Notification about either a contact had posted something directly or the contact is a mentioned forum */
+       const SHARE = 1024;
+
+       /** @var int Global System notifications */
+       const SYSTEM = 32768;
 }