[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 = [
|
$websub_states = [
|
||||||
'subscribe' => _m('Pending'),
|
'subscribe' => _m('Pending'),
|
||||||
'active' => _m('Active'),
|
'active' => _m('Active'),
|
||||||
'nohub' => _m('Polling'),
|
'unsubscribe' => _m('Unsubscribing'),
|
||||||
'inactive' => _m('Inactive'),
|
'nohub' => _m('Polling'),
|
||||||
];
|
'inactive' => _m('Inactive'),
|
||||||
|
];
|
||||||
$out->elementStart('dl', 'entity_tags ostatus_profile');
|
$out->elementStart('dl', 'entity_tags ostatus_profile');
|
||||||
$out->element('dt', null, _m('WebSub'));
|
$out->element('dt', null, _m('WebSub'));
|
||||||
$out->element('dd', null, $websub_states[$feedsub->sub_state]);
|
$out->element('dd', null, $websub_states[$feedsub->sub_state]);
|
||||||
|
Loading…
Reference in New Issue
Block a user