зеркало из https://github.com/nextcloud/spreed.git
add nickserv fields to IRC
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
This commit is contained in:
Родитель
51878b8f58
Коммит
8d8cb8e9f7
|
@ -415,6 +415,10 @@ class MatterbridgeManager {
|
|||
$content .= sprintf('[%s.%s]', $type, $k) . "\n";
|
||||
$content .= sprintf(' Server = "%s"', $part['server']) . "\n";
|
||||
$content .= sprintf(' Nick = "%s"', $part['nick']) . "\n";
|
||||
if ($part['nickservnick'] && $part['nickservpassword']) {
|
||||
$content .= sprintf(' NickServNick = "%s"', $part['nickservnick']) . "\n";
|
||||
$content .= sprintf(' NickServPassword = "%s"', $part['nickservpassword']) . "\n";
|
||||
}
|
||||
$content .= ' PrefixMessagesWithNick = true' . "\n";
|
||||
$content .= ' RemoteNickFormat = "[{PROTOCOL}] <{NICK}> "' . "\n\n";
|
||||
} elseif ($type === 'msteams') {
|
||||
|
|
|
@ -333,7 +333,7 @@ export default {
|
|||
fields: {
|
||||
server: {
|
||||
type: 'url',
|
||||
placeholder: t('spreed', 'IRC server URL'),
|
||||
placeholder: t('spreed', 'IRC server URL (e.g. chat.freenode.net:6667)'),
|
||||
icon: 'icon-link',
|
||||
},
|
||||
nick: {
|
||||
|
@ -351,6 +351,16 @@ export default {
|
|||
placeholder: t('spreed', 'IRC channel'),
|
||||
icon: 'icon-group',
|
||||
},
|
||||
nickservnick: {
|
||||
type: 'text',
|
||||
placeholder: t('spreed', 'NickServ nickname'),
|
||||
icon: 'icon-user',
|
||||
},
|
||||
nickservpassword: {
|
||||
type: 'password',
|
||||
placeholder: t('spreed', 'NickServ password'),
|
||||
icon: 'icon-category-auth',
|
||||
},
|
||||
},
|
||||
},
|
||||
msteams: {
|
||||
|
|
Загрузка…
Ссылка в новой задаче