|
@@ -256,22 +256,21 @@ const logPreRepost = () => {
|
|
|
}
|
|
|
params.rootTwitterName = state.detail.postUserInfo.nickName
|
|
|
let names = []
|
|
|
-
|
|
|
- if (state.detail.inviteUserInfo.uid != global_userInfo.uid) {
|
|
|
- if (state.detail.inviteUserInfo) {
|
|
|
+ if (state.detail.inviteUserInfo) {
|
|
|
+ if (state.detail.inviteUserInfo.uid != global_userInfo.uid) {
|
|
|
// isFatherTwitterFans = inviteUserInfo.nickName 的关注关系
|
|
|
// 发送事件校验关注关系
|
|
|
names.push({
|
|
|
type: 'invite',
|
|
|
name: state.detail.inviteUserInfo.nickName
|
|
|
})
|
|
|
- } else {
|
|
|
- if (state.detail.postUserInfo.uid != global_userInfo.uid) {
|
|
|
- names.push({
|
|
|
- type: 'invite',
|
|
|
- name: state.detail.postUserInfo.nickName
|
|
|
- })
|
|
|
- }
|
|
|
+ }
|
|
|
+ } else {
|
|
|
+ if (state.detail.postUserInfo.uid != global_userInfo.uid) {
|
|
|
+ names.push({
|
|
|
+ type: 'invite',
|
|
|
+ name: state.detail.postUserInfo.nickName
|
|
|
+ })
|
|
|
}
|
|
|
}
|
|
|
|