summaryrefslogtreecommitdiff
path: root/actions/imsettings.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-07-15 15:55:13 -0400
committerEvan Prodromou <evan@prodromou.name>2008-07-15 15:55:13 -0400
commit499afd8c22fa7b14c5d757f52b1e8e6a91bbaf30 (patch)
tree43c07d8135200200c7c53c92693aa6d3305b7c16 /actions/imsettings.php
parent3f59000e73f8e80d833963445e7581c3a21f0dc7 (diff)
replies from people you're not subscribed to over Jabber
darcs-hash:20080715195513-84dde-454419c971015be385d9c4c35f7acbee419031f9.gz
Diffstat (limited to 'actions/imsettings.php')
-rw-r--r--actions/imsettings.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/actions/imsettings.php b/actions/imsettings.php
index f85d9f887..9e483d063 100644
--- a/actions/imsettings.php
+++ b/actions/imsettings.php
@@ -73,6 +73,9 @@ class ImsettingsAction extends SettingsAction {
common_checkbox('updatefrompresence',
_('Post a notice when my Jabber/GTalk status changes.'),
$user->updatefrompresence);
+ common_checkbox('jabberreplies',
+ _('Send me replies through Jabber/GTalk from people I\'m not subscribed to.'),
+ $user->jabberreplies);
common_submit('save', _('Save'));
common_element_end('form');
@@ -110,6 +113,7 @@ class ImsettingsAction extends SettingsAction {
$jabbernotify = $this->boolean('jabbernotify');
$updatefrompresence = $this->boolean('updatefrompresence');
+ $jabberreplies = $this->boolean('jabberreplies');
$user = common_current_user();
@@ -121,6 +125,7 @@ class ImsettingsAction extends SettingsAction {
$user->jabbernotify = $jabbernotify;
$user->updatefrompresence = $updatefrompresence;
+ $user->jabberreplies = $jabberreplies;
$result = $user->update($original);