mirror of
https://github.com/NicolasConstant/BirdsiteLive
synced 2025-06-05 21:49:16 +02:00
hack to handle saved inbox
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using System.Linq;
|
||||
using System.Net;
|
||||
using System.Net.Http;
|
||||
using System.Text;
|
||||
@@ -89,6 +90,10 @@ namespace BirdsiteLive.Domain
|
||||
//}
|
||||
};
|
||||
|
||||
//TODO Remove this
|
||||
if (targetInbox.Contains(targetHost))
|
||||
targetInbox = targetInbox.Split(new []{ targetHost }, StringSplitOptions.RemoveEmptyEntries).Last();
|
||||
|
||||
return await PostDataAsync(noteActivity, targetHost, actor, targetInbox);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user