mirror of
https://github.com/owncast/owncast.git
synced 2024-10-10 19:16:02 +00:00
Initial change for Social Media validation (#3819)
Co-authored-by: Gabe Kangas <gabek@real-ity.com>
This commit is contained in:
parent
56d4ac0c62
commit
4579d9074e
@ -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