forked from GNUsocial/gnu-social
[OStatus] The unsubscribe state also needs a label
This commit is contained in:
parent
8f309bc768
commit
693c3168da
@ -1365,11 +1365,12 @@ class OStatusPlugin extends Plugin
|
||||
}
|
||||
|
||||
$websub_states = [
|
||||
'subscribe' => _m('Pending'),
|
||||
'active' => _m('Active'),
|
||||
'nohub' => _m('Polling'),
|
||||
'inactive' => _m('Inactive'),
|
||||
];
|
||||
'subscribe' => _m('Pending'),
|
||||
'active' => _m('Active'),
|
||||
'unsubscribe' => _m('Unsubscribing'),
|
||||
'nohub' => _m('Polling'),
|
||||
'inactive' => _m('Inactive'),
|
||||
];
|
||||
$out->elementStart('dl', 'entity_tags ostatus_profile');
|
||||
$out->element('dt', null, _m('WebSub'));
|
||||
$out->element('dd', null, $websub_states[$feedsub->sub_state]);
|
||||
|
Loading…
Reference in New Issue
Block a user