mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 02:35:12 +00:00
more string changes
This commit is contained in:
parent
a7ba84e6f2
commit
db9eae39b8
2 changed files with 8 additions and 3 deletions
|
@ -128,9 +128,9 @@ class PermissionRoles {
|
|||
'social_restricted' => t('Social - Restricted')
|
||||
],
|
||||
|
||||
t('Community Forum') => [
|
||||
'forum' => t('Forum - Normal'),
|
||||
'forum_restricted' => t('Forum - Restricted')
|
||||
t('Community Group') => [
|
||||
'forum' => t('Group - Normal'),
|
||||
'forum_restricted' => t('Group - Restricted')
|
||||
],
|
||||
|
||||
t('Feed Republish') => [
|
||||
|
|
|
@ -71,6 +71,11 @@ class Follow extends Controller {
|
|||
$interactive = (($_REQUEST['interactive']) ? intval($_REQUEST['interactive']) : 1);
|
||||
$channel = App::get_channel();
|
||||
|
||||
if(strpos($url,'@') === false && strpos($url,'/') === false) {
|
||||
$url = $url . '@' . App::get_hostname();
|
||||
}
|
||||
|
||||
|
||||
$result = Connect::connect($channel,$url);
|
||||
|
||||
if($result['success'] == false) {
|
||||
|
|
Loading…
Reference in a new issue