From 334c652e80e9bb9e53116963ec3f794588be4439 Mon Sep 17 00:00:00 2001 From: mikec Date: Mon, 21 Jul 2008 08:00:36 -0400 Subject: Publish MicroIDs for email and mpp on profile and notice pages. darcs-hash:20080721120036-edabd-838335c0e23c80a657d353955b25b52a9a8624b2.gz --- actions/imsettings.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'actions/imsettings.php') diff --git a/actions/imsettings.php b/actions/imsettings.php index d1ed48efb..034f6dc2b 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); -- cgit v1.2.3-54-g00ecf