X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fimsettings.php;h=034f6dc2b284518ef50e6e3bae1416403ef180be;hb=ea40dabb392aec3d7b9da666285969bb296a94e2;hp=d1ed48efb38912de47e27a5158cafa3aff3e834a;hpb=4b8ae3e33937b4dacd2acb17d98050684ce41823;p=quix0rs-gnu-social.git diff --git a/actions/imsettings.php b/actions/imsettings.php index d1ed48efb3..034f6dc2b2 100644 --- a/actions/imsettings.php +++ b/actions/imsettings.php @@ -75,6 +75,9 @@ class ImsettingsAction extends SettingsAction { common_checkbox('jabberreplies', _('Send me replies through Jabber/GTalk from people I\'m not subscribed to.'), $user->jabberreplies); + common_checkbox('jabbermicroid', + _('Publish a MicroID for my Jabber/GTalk address.'), + $user->jabbermicroid); common_submit('save', _('Save')); common_element_end('form'); @@ -113,6 +116,7 @@ class ImsettingsAction extends SettingsAction { $jabbernotify = $this->boolean('jabbernotify'); $updatefrompresence = $this->boolean('updatefrompresence'); $jabberreplies = $this->boolean('jabberreplies'); + $jabbermicroid = $this->boolean('jabbermicroid'); $user = common_current_user(); @@ -125,6 +129,7 @@ class ImsettingsAction extends SettingsAction { $user->jabbernotify = $jabbernotify; $user->updatefrompresence = $updatefrompresence; $user->jabberreplies = $jabberreplies; + $user->jabbermicroid = $jabbermicroid; $result = $user->update($original);