mirror of
https://github.com/owncast/owncast.git
synced 2024-10-10 19:16:02 +00:00
Initial change for Social Media validation
This commit is contained in:
parent
6636b686cd
commit
0733abbc00
@ -290,6 +290,9 @@ export default function EditSocialLinks() {
|
||||
];
|
||||
|
||||
const isValid = (url: string, platform: string) => {
|
||||
if (platform === '') {
|
||||
return false;
|
||||
}
|
||||
if (platform === 'xmpp') {
|
||||
return isValidAccount(url, 'xmpp');
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user