hack to handle saved inbox
This commit is contained in:
parent
fce355c2e8
commit
16d310a37e
1 changed files with 5 additions and 0 deletions
|
@ -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 a new issue